package com.binhai.springboot.calculator;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class CalculateController {

    @RequestMapping("/calculate.do")
    public String calculate(){
        return "calculator";
    }

    @RequestMapping("/els.do")
    public String els(){
        return "els";
    }
    }